package com.huashi.dealer.modular.business.express.param;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 物流公司保存参数
 *
 * @author 自动生成
 * @since 2025-01-27
 */
@Data
@Schema(description = "物流公司保存参数")
public class ExpressSaveParam {

    @Schema(description = "物流公司ID（更新时必填）")
    private Long expressId;

    @NotBlank(message = "物流公司名称不能为空")
    @Schema(description = "物流公司名称")
    private String expressName;

    @NotBlank(message = "物流公司代码不能为空")
    @Schema(description = "物流公司代码")
    private String expressCode;

    @NotNull(message = "排序不能为空")
    @Schema(description = "排序")
    private Integer sort;
}
